package com.ccys.db.dto.web.inventory;


import com.ccys.db.entity.TblPurchaseExchangeOrderDetail;
import com.ccys.db.entity.TblPurchaseOrder;
import com.ccys.db.entity.TblPurchaseOrderDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@ApiModel("退换货入参")
@EqualsAndHashCode(callSuper = false)
public class ExchangeOrderDto {

    @ApiModelProperty("退货订单")
    private TblPurchaseOrder order;

    @ApiModelProperty("重新购买的药品集合")
    private List<TblPurchaseOrderDetail> purchaseList;

    @ApiModelProperty("需要退货的药品集合")
    private List<TblPurchaseExchangeOrderDetail> exchangeList;
}
